<if condition="$table_array neq null">
    <if condition="$table_array[0]['totalPage'] gt 1">
        <span class="prev glyphicon glyphicon-triangle-left disabled"></span>
        <span class="current">1</span>
        <if condition="$table_array[0]['totalPage'] lt 8">
            <for start="2" end="$table_array[0]['totalPage']" step="1">
               <a href="#?page={$i}">{$i}</a>
            </for>
        <else />
            <for start="2" end="5" step="1">
               <a href="#?page={$i}">{$i}</a>
            </for>
            <a class="ellipsis">...</a>
            <a href="#?page={$table_array[0]['totalPage']}">{$table_array[0]["totalPage"]}</a>
        </if>
        <span class="next glyphicon glyphicon-triangle-right"></span>
        <input type="text" class="page_text">
        <input type="button" value="跳转" class="page_byn bigwe_default_btn_fff"/>
    </if>
</if>